SetDlgItemText(hwnd, IDC_SPACE2, "");
PropSheet_SetWizButtons(dialog, 0);
SendMessage(dialog, PSM_CANCELTOCLOSE, 0, 0); //makes wine display a warning
- SetDlgItemText(hwnd, IDC_TITLE, "Installing files...");
+ SetDlgItemText(hwnd, IDC_TITLE, "Installing...");
statuswnd = hwnd;
status_t status;
status.status = PropertyArchiveStatus;
all: pdf2swf_gui.exe
pdf2swf_gui.exe: gpdf2swf.py gui/*.py viewers/*.py
- cp gpdf2swf.py /xpython/main.py
- cp -R viewers gui lib /xpython/
+ cp -a ../installer/swftools.ico /xpython/xpython.ico
+ cp -a gpdf2swf.py /xpython/main.py
+ cp -a -R viewers gui lib /xpython/
cd /xpython/swftools;git pull
cd /xpython;make xpython.exe
ln -f /xpython/xpython.exe ./gpdf2swf.exe
win = self.makePanel(mod)
self.AddPage(win, mod, imageId=idx)
+ if hasattr(mod, "default"):
+ self.SetSelection(idx)
def makePanel(self, mod):
from gui.fields import Choose, ChooseAndInt
-order = 3
+order = 2
type = "custom"
name = u"Flex Paper Viewer"
desc = u"""Provides a light weight document viewer with:
from gui.fields import Choose
-order = 0
+order = 4
type = "core"
name = u"No Viewer"
desc = (u'The SWF will be in "raw" format, with each page a seperate frame. '
from gui.fields import Choose, ChooseAndInt
-order = 2
+order = 0
+default = True
type = "custom"
name = u"rfx Viewer"
desc = u"A more sophisticated viewer with zooming and scrolling."
from gui.fields import Hidden, Choose
-order = 1
+order = 3
type = "core"
name = u"Simple Viewer"
desc = (u"A tiny viewer, which attaches directly to the SWF, "
from gui.fields import Choose, ChooseAndInt, Hidden
-order = 4
+order = 1
type = "custom"
name = u"technoargia Viewer"
desc = (u"Simple viewer with home link from Laurent Lalanne"